home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ MSO2K Options 1.xpl < prev    next >
Text File  |  2000-08-07  |  2KB  |  103 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="5"
  4. "UIPATH"="Program Options\Microsoft Office\MS Office 2000\Common"
  5. "NAME"="Advanced"
  6. "VERSION"="1.15"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Use default Windows font instead of "Tahoma""
  9. "TEXT 2"="Track document editing time"
  10. "TEXT 3"="Enable Clipart Gallery Online"
  11. "TEXT 4"="Enable automatic appearance of "Clipboard" toolbar"
  12. "TEXT 5"="Enable "Office TuneUp utility" to be run from time to time"
  13. "DESCRIPTION 1"="Some options for Microsoft Office 2000"
  14. "DESCRIPTION 2"="NOTE: the Office 2000 Tune Up utility will not work under W2K. It does work under Win 9x and Win ME."
  15. "AUTHOR"="Xteq Systems"
  16. "CONTACTURL"="http://www.xteq.com"
  17. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  18. "COMMENT 1"=" "
  19.  
  20.  
  21. sV1="HKCU\Software\Policies\Microsoft\Office\9.0\Common\General\UseOfficeUIFont" 'DW
  22. sV2="HKCU\Software\Policies\Microsoft\Office\9.0\Common\General\NoTrack" 'DW
  23. sV3="HKCU\Software\Policies\Microsoft\Office\9.0\ClipGallery\DisableClipsOnline" 'DW
  24. sV4="HKCU\Software\Microsoft\Office\9.0\Common\General\AcbControl" 'DW 1=off, 0=on
  25. sV5="HKCU\Software\Microsoft\Office\9.0\Common\TuneUp\Disabled" 'DW 1=off, 0=on
  26.  
  27.  
  28. sPCheck="HKCU\Software\Microsoft\Office\9.0\"
  29. Sub Plugin_Initialize 
  30. if RegPathExists(sPCheck) then
  31.  i=RegReadValue(sV1)
  32.  if i=0 and IsEmpty(i)=false then SetUiElement 1,true
  33.  
  34.  i=RegReadValue(sV2)
  35.  if i<>1 then SetUiElement 2,true
  36.  
  37.  i=RegReadValue(sV3)
  38.  if i<>1 then SetUiElement 3,true
  39.  
  40.  i=RegReadValue(sV4)
  41.  if i<>1 then SetUiElement 4,true
  42.  
  43.  i=RegReadValue(sV5)
  44.  if i<>1 then SetUiElement 5,true
  45.  
  46. else
  47.  disable()
  48. end if
  49. End Sub
  50.  
  51.  
  52. Sub Plugin_CheckData(ElementIndex)
  53. End Sub
  54.  
  55.  
  56.  
  57. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  58.  if GetUIElement(1)=true then
  59.     i=0
  60.  else
  61.     i=1
  62.  end if
  63.  Call RegWriteValue(sV1,i,2)
  64.  
  65.  if GetUIElement(2)=true then
  66.     i=0
  67.  else
  68.     i=1
  69.  end if
  70.  Call RegWriteValue(sV2,i,2)
  71.  
  72.  if GetUIElement(3)=true then
  73.     i=0
  74.  else
  75.     i=1
  76.  end if
  77.  Call RegWriteValue(sV3,i,2)
  78.  
  79.  if GetUIElement(4)=true then
  80.     i=0
  81.  else
  82.     i=1
  83.  end if
  84.  Call RegWriteValue(sV4,i,2)
  85.  
  86.  if GetUIElement(5)=true then
  87.     i=0
  88.  else
  89.     i=1
  90.  end if
  91.  Call RegWriteValue(sV5,i,2)
  92.  
  93.  
  94.  Call Logoff()
  95. End Sub
  96.  
  97.  
  98. Sub Plugin_Terminate 
  99. End Sub
  100.  
  101.  
  102.  
  103.